<?php

namespace App\Common;


class Common {

    public function __construct() {

    }

    //用户身份
    const USER_IDENTITY = [
        'general_employees' => 1, //普通员工
        'teacher'           => 2, //老师
        'financial'         => 3, //财务
        'headmaster'        => 4, //校长
        'director'          => 5, //总监
    ];


    //打卡状态
    const CLOCK_STATUS = [
        'location_offset'   => 1, //偏移
        'late'              => 2, //迟到
        'leave_early'       => 3, //早退
        'leave_early_late'  => 4, //迟到早退
        'noon_holiday'      => 5, //上午请假
        'afternoon_holiday' => 6, //下午请假
        'holiday'           => 7, //请假
        'days_off'          => 8, //调休
        'absent_work'       => 9, //调休
        'business_trip'     => 10, //出差
        'go_out'            => 11, //外出

    ];
}
